package month3.day29;

public class Net extends Teacher {


    public Net(String name, int age, int teach, String sex) {
        super(name, age, teach, sex);
    }

    public void selfIntroduce() {
        super.selfIntroduce();
        draw();
    }

    public void giveLession() {
        super.giveLession();
        System.out.println("用Visual studio上课");
    }

    public void draw() {
        System.out.println("教C#");
    }
}
